package org.tongdao.yulong.event;

import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.stereotype.Component;

/**
 * @Description: TODO
 * @author: 殷玉龙
 * @date: 2021年01月20日 下午1:47
 */
@Component
public class ContextRefreshedApplicationListener implements ApplicationListener<ContextRefreshedEvent> {
  @Override
  public void onApplicationEvent(ContextRefreshedEvent contextRefreshedEvent) {
    System.out.println("ContextRefreshedApplicationListener监听到ContextRefreshedEvent事件！");
  }
}
